//
//  MessageModel.h
//  YuTang
//
//  Created by 葛悦彣 on 2024/9/23.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface MessageModel : NSObject

///最新一条消息内容
@property (nonatomic ,strong) NSString * content;

///标题
@property (nonatomic ,strong) NSString * title;

///最新一条消息日期
@property (nonatomic ,strong) NSString * msgTime;

///未读消息数
@property (nonatomic ,assign) NSInteger num;



/// 类型系统消息    1 任务消息 2审批消息3告警消息    4
@property (nonatomic ,assign) NSInteger type;
@property (nonatomic ,strong) NSString * typelab;
@property (nonatomic ,strong) NSString * typeimg;


/*------- 列表数据 -----------*/

@property (nonatomic ,strong) NSString * createTime;

@property (nonatomic ,assign) NSInteger detailType;

@property (nonatomic ,strong) NSString * ID;
@property (nonatomic ,strong) NSString * otherId;

@property (nonatomic ,assign) BOOL read;

@property (nonatomic ,assign) CGFloat contentH;
@property (nonatomic ,assign) CGFloat CellH;

@end

NS_ASSUME_NONNULL_END
